#pragma once
#include<stdio.h>
#include<string.h>
#include<unistd.h>


#define SIZE 101//包含\0
#define MAX_RATE 100
#define SYTLE '#'
#define STIME 1000*40
#define STYLE_BODY '='
#define STYLE_HEADER '>'


typedef void(*callback)(double);

void process_v1();
void process_v2(int rate);
void process_v3(double rate);